package com.javasvip.serviceuser.service;

import org.springframework.stereotype.Component;

@Component  // 别忘了这个注解，还应该被扫描到
public class CodeFallback implements CodeService {

    @Override
    public Integer verification(String email, String code) {
        System.out.println("验证服务降级");
        return -1;
    }
}
